package com.nervenets.shopping.hibernate.domain.data;

import com.nervenets.general.hibernate.DomainObject;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户日统计记录
 * Created by Joe on 2018/1/6.
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DataOfUser extends DomainObject {
    @ApiModelProperty(value = "总用户")
    private long total;
    @ApiModelProperty(value = "新用户")
    private long newer;
    @ApiModelProperty(value = "支付人数")
    private long pay;
    @ApiModelProperty(value = "活跃人数")
    private long active;
    @ApiModelProperty(value = "退款人数")
    private long refund;
}
